package cn.lyjuan.payment.third.base.pay.vo.req;

import cn.lyjuan.payment.third.base.pay.enums.SimpleChlEnum;

/**
 * 支付平台配置信息
 */
public class ChlCnf {
    /**
     * 渠道类型
     */
    protected SimpleChlEnum chlType;

    /**
     * 商家账号
     */
    protected String appId;

    /**
     * 密钥
     */
    protected String key;

    /**
     * 证书地址
     */
    protected String certPath;

    public ChlCnf() {
    }

    public ChlCnf(SimpleChlEnum chlType, String appId, String key, String certPath) {
        this.chlType = chlType;
        this.appId = appId;
        this.key = key;
        this.certPath = certPath;
    }

    public SimpleChlEnum getChlType() {
        return chlType;
    }

    public void setChlType(SimpleChlEnum chlType) {
        this.chlType = chlType;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getCertPath() {
        return certPath;
    }

    public void setCertPath(String certPath) {
        this.certPath = certPath;
    }

    @Override
    public String toString() {
        return "ChlCnf{" +
                "chlType=" + chlType +
                ", appId='" + appId + '\'' +
                ", key='" + key + '\'' +
                ", certPath='" + certPath + '\'' +
                '}';
    }
}
